package com.md.api.dao;

import com.md.api.entity.UserBank;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserBankMapper {
    int delete(@Param("bankId") String bankId);

    int insert(UserBank record);

    UserBank selectByPrimaryKey(Integer id);

    List<UserBank> myBank(@Param("userId") String userId);

    int update(UserBank record);

}